﻿// -----------------------------------------------------------------------
// <copyright file=PhieuThamDoChucNangBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class PhieuThamDoChucNangBusiness
    {
        PhieuThamDoChucNangDataAccess objDa = null;

        public PhieuThamDoChucNangBusiness()
        {
            objDa = new PhieuThamDoChucNangDataAccess();
        }

        public bool InsertPhieuThamDoChucNang(PhieuThamDoChucNangEntity obj)
        {
            return objDa.InsertPhieuThamDoChucNang(obj);
        }

        public bool EditPhieuThamDoChucNang(PhieuThamDoChucNangEntity obj)
        {
            return objDa.EditPhieuThamDoChucNang(obj);
        }

        public bool DeletePhieuThamDoChucNang(string maThamDoChucNang)
        {
            return objDa.DeletePhieuThamDoChucNang(maThamDoChucNang);
        }

        public PhieuThamDoChucNangEntity GetPhieuThamDoChucNang(string maThamDoChucNang)
        {
            return objDa.GetPhieuThamDoChucNang(maThamDoChucNang);
        }

        public IList<PhieuThamDoChucNangEntity> GetPhieuThamDoChucNangList()
        {
            return objDa.GetPhieuThamDoChucNangList();
        }

        public IList<PhieuThamDoChucNangEntity> GetPhieuThamDoChucNangByTrangThai(Int32 trangThai)
        {
            return objDa.GetPhieuThamDoChucNangByTrangThai(trangThai);
        }

    }
}